package com.example.administrator.statusbarutil;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;

import com.jaeger.library.StatusBarUtil;

public class BaseActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setStatusBarUtil();
    }

    protected void setStatusBarUtil(){
        StatusBarUtil.setColor(this,ContextCompat.getColor(this,R.color.colorAccent));
    }
}
